-
The
DingiLocationManager
protocol defines a set of methods that a class must implement in order to serve as the location manager of anDingiMapView
. A location manager is responsible for notifying the map view about location-related events, such as a change in the user’s location. This protocol is similar to the Core Location framework’sCLLocationManager
class, but your implementation does not need to be based onCLLocationManager
.To receive location updates from an object that conforms to the
See moreDingiLocationManager
protocol, use the optional methods available in theDingiLocationManagerDelegate
protocol.Declaration
Objective-C
@protocol DingiLocationManager <NSObject>
Swift
protocol DingiLocationManager : NSObjectProtocol
-
The
See moreDingiLocationManagerDelegate
protocol defines a set of methods that respond to location updates from anDingiLocationManager
object that is serving as the location manager of anDingiMapView
.Declaration
Objective-C
@protocol DingiLocationManagerDelegate <NSObject>
Swift
protocol DingiLocationManagerDelegate : NSObjectProtocol